package com.tuling;

import java.io.Serializable;
/**
 * zk节点数据信息
 * @author wangningbo
 *
 */
public class NodeInfo implements Serializable{
	private static final long serialVersionUID = 5926376726074136961L;
	private String ip;
	private String serverName;
	private String port;
	//节点状态
	private String status;
	//客户端名字
	private String clientName;
	//是属于哪个节点
	private String node;
	//已连接客户端数量
	private int num;
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public String getServerName() {
		return serverName;
	}
	public void setServerName(String serverName) {
		this.serverName = serverName;
	}
	public String getPort() {
		return port;
	}
	public void setPort(String port) {
		this.port = port;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getClientName() {
		return clientName;
	}
	public void setClientName(String clientName) {
		this.clientName = clientName;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public String getNode() {
		return node;
	}
	public void setNode(String node) {
		this.node = node;
	}
	
}
